Update create .NET console app tutorial series to include file-based apps with Codespaces#51321
Merged
meaghanlewis merged 17 commits intodotnet:mainfrom Feb 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the .NET console application tutorial to support both Visual Studio Code and GitHub Codespaces using zone pivots. The changes enable users to choose between two development environments and follow platform-specific instructions.
Changes:
- Added zone pivot configuration to allow toggling between Visual Studio Code and Codespaces views
- Created Codespaces-specific tutorial content with instructions for single-file C# apps
- Added new code snippet file for the Codespaces tutorial path
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| docs/zone-pivot-groups.yml | Adds new zone pivot group code-editor-set-one with vscode and codespaces pivots |
| docs/core/tutorials/with-visual-studio-code.md | Implements zone pivots throughout the tutorial with separate content for VS Code and Codespaces |
| docs/core/tutorials/snippets/with-visual-studio-code/csharp/HelloWorld.cs | New snippet file containing HelloWorld and MainMethod code examples for Codespaces |
docs/core/tutorials/snippets/with-visual-studio-code/csharp/HelloWorld.cs
Show resolved
Hide resolved
adegeo
requested changes
Jan 29, 2026
Contributor
adegeo
left a comment
There was a problem hiding this comment.
Really cool to see Codepsaces covered now! Here's a bunch of feedback for you 😺
adegeo
approved these changes
Feb 4, 2026
Contributor
adegeo
left a comment
There was a problem hiding this comment.
Some things to consider. Approving to unblock. Good job!
Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request updates the .NET console application tutorials to provide dedicated instructions for both Visual Studio Code and GitHub Codespaces environments. The changes introduce content pivots throughout the tutorials, ensuring users receive environment-specific guidance, code snippets, screenshots, and commands. Additionally, the tutorials are updated for clarity, accuracy, and the latest recommended practices.
Environment-specific guidance and pivots:
zone_pivot_groups: code-editor-set-onemetadata and content pivots throughout the tutorials to distinguish steps for Visual Studio Code and GitHub Codespaces users. Each environment now has tailored instructions, prerequisites, and screenshots. [1] [2] [3]Codespaces-specific instructions and assets:
dotnet publish HelloWorld.csand inspecting output in theartifacts/HelloWorlddirectory). [1] [2] [3] [4] [5] [6] [7]Content and instructional improvements:
Sample code and assets:
HelloWorld.cssample file with clear code regions to illustrate the main method and output for the tutorials.Metadata and date updates:
ms.dateto reflect the latest revision dates. [1] [2] [3]These changes ensure that users following the tutorials have a clear, accurate, and environment-appropriate learning experience, whether they're using Visual Studio Code locally or GitHub Codespaces in the cloud.
Fixes #50708
Fixes #50724
Fixes #50725
Internal previews